-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5188 bug some canceled subscriptions are billed #5254
5188 bug some canceled subscriptions are billed #5254
Conversation
packages/twenty-server/src/engine/core-modules/workspace/services/workspace.service.ts
Show resolved
Hide resolved
}); | ||
|
||
if (!billingSubscription) { | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a valid business case? should we expect a workspace without billingSubscription? If not, we should throw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, we can activate a workspace without a valid subscription. It is the case for old early users ' workspaces
commit 09d4bdb Merge: bc86ac7 0af86ea Author: Shubham Pawar <82868470+srp-pawar@users.noreply.github.com> Date: Wed May 15 10:33:40 2024 +0530 Merge branch 'main' of https://github.com/synapsenet-arena/lead360 commit 0af86ea Author: Rob Luke <code@robertluke.net> Date: Wed May 15 10:52:33 2024 +1000 docs: fix calendar enable environmental variable (twentyhq#5417) Hi twenty team, Thanks for making such a great product, it's a pleasure to use and see the rapid development. @charlesBochet helped me find this error in my setup commit 8842292 Author: Vinod Rathod <112850789+rathodvinod5@users.noreply.github.com> Date: Tue May 14 21:58:13 2024 +0530 Fixed left padding for switcher icon on the table checkboxes twentyhq#4351 (twentyhq#4963) Closes twentyhq#4351 - Fixed spacing issue in TopBar file. --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 0b1f646 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Tue May 14 18:59:48 2024 +0300 Added loader to Download Image + modified GitHub stars (twentyhq#5407) - Added loader to download image in contributor page: https://github.com/twentyhq/twenty/assets/102751374/a6db1d80-01ed-4b07-9a57-e533012f5aa9 - Modified GitHub stars - rounded to the nearest integer commit 1a61405 Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Tue May 14 17:36:00 2024 +0200 User guide images (twentyhq#5410) Updated 2 illustrations & added colors on filter illustration --------- Co-authored-by: Weiko <corentin@twenty.com> commit 53b9505 Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Tue May 14 17:23:54 2024 +0200 Added the illustrations for the user guide (twentyhq#5409) Added illustrations for all user-guide articles commit ce19582 Author: Anchit Sinha <anchit1909@gmail.com> Date: Tue May 14 20:32:53 2024 +0530 4599-feat(front): Add Copy Button to Floating Inputs (twentyhq#4789) Closes twentyhq#4599 **Changes:** - Added copy button to floating inputs of Text, Number, Phone, Link and Email fields. --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> Co-authored-by: Weiko <corentin@twenty.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit a53ce1c Author: Félix Malfait <felix.malfait@gmail.com> Date: Tue May 14 16:42:28 2024 +0200 Track backend events (twentyhq#5405) Add tracking to backend events, we might disable frontend tracking which doesn't bring much value to improve the product commit ffdd3a7 Author: martmull <martmull@hotmail.fr> Date: Tue May 14 13:21:55 2024 +0200 Return graphql errors when exists (twentyhq#5389) - throw badRequest with graphql error messages when graphql request fails - clean some code Before <img width="1470" alt="image" src="https://github.com/twentyhq/twenty/assets/29927851/0b700d9a-2bbe-41f7-84a9-981dc7dd5344"> After ![image](https://github.com/twentyhq/twenty/assets/29927851/6bbaaf7c-1244-473d-9ae5-4fefc6a1b994) commit 1bc9b78 Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Tue May 14 10:58:30 2024 +0100 Show Data Skeleton Loading (twentyhq#5328) ### Description Show Data Skeleton loading ### Refs twentyhq#4460 ### Demo Figma: https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=25429-70096&mode=design&t=VRxtgYCKnJkl2zpt-0 https://jam.dev/c/178878cb-e600-4370-94d5-c8c12c8fe0d5 Fixes twentyhq#4460 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Matheus <matheus_benini@hotmail.com> commit de438b0 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Mon May 13 18:00:13 2024 +0200 Add stripe connection option (twentyhq#5372) - Refactor creation and edition form so it handles stripe integration and not only postgres - Add a hook `useIsSettingsIntegrationEnabled` to avoid checking feature flags everywhere - Add zod schema for stripe <img width="250" alt="Capture d’écran 2024-05-13 à 12 41 52" src="https://github.com/twentyhq/twenty/assets/22936103/a77e7278-5d79-4f95-bddb-ae9ddd1426eb"> <img width="250" alt="Capture d’écran 2024-05-13 à 12 41 59" src="https://github.com/twentyhq/twenty/assets/22936103/d617dc6a-31a4-43c8-8192-dbfb7157de1c"> <img width="250" alt="Capture d’écran 2024-05-13 à 12 42 08" src="https://github.com/twentyhq/twenty/assets/22936103/c4e2d0e4-f826-436d-89be-4d1679a27861"> --------- Co-authored-by: Thomas Trompette <thomast@twenty.com> commit b9154f3 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 13 17:43:51 2024 +0200 Enable deletion of relation fields (twentyhq#5338) In this PR 1. Enable deletion of relation fields in the product and via the api (migration part was missing in the api) 3. Change wording, only use "deactivate" and "delete" everywhere (and not a mix of the two + "disable", "erase") commit 0018ec7 Author: martmull <martmull@hotmail.fr> Date: Mon May 13 14:50:27 2024 +0200 4840 multi workspace update user userworkspace inconsistent on delete set null constraint (twentyhq#5373) commit 8576127 Author: martmull <martmull@hotmail.fr> Date: Mon May 13 14:18:45 2024 +0200 Add migration to restrict users without workspaces (twentyhq#5369) - update set null ON DELETE constraint to RESTRICT - update missing updates commit 1ac8abb Author: martmull <martmull@hotmail.fr> Date: Mon May 13 10:23:32 2024 +0200 5188 bug some canceled subscriptions are billed (twentyhq#5254) When user is deleting its account on a specific workspace, we remove it as if it was a workspaceMember, and if no workspaceMember remains, we delete the workspace and the associated stripe subscription commit 92acfe5 Author: Thomas Hillesøy <thomas.hillesoy@gmail.com> Date: Mon May 13 09:55:57 2024 +0200 feat: Currencies NOK and SEK (twentyhq#5359) Related to twentyhq#5351 and twentyhq#5353 Adding both currencies NOK and SEK, using icon https://tabler.io/icons/icon/currency-krone-swedish --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 4a7aabd Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Mon May 13 10:55:30 2024 +0300 Added GitHub init (twentyhq#5317) - Added github:init to allow full import, as opposed to gitHub:sync which allows partial sync and therefore respecting Github API Limit quota. --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit 321ce72 Author: Mohamed Muhsin <62111075+muhsinkamil@users.noreply.github.com> Date: Mon May 13 08:16:51 2024 +0200 Add new Currencies with Corresponding Icons (twentyhq#5353) ### **Description** Add 3 new currencies ### **Refs** twentyhq#5351 ### **Demo** <img width="678" alt="Screenshot 2024-05-11 at 1 30 55 AM" src="https://github.com/twentyhq/twenty/assets/62111075/cc88ba46-cc5a-41d6-baf8-c28851c629ae"> commit eb2b896 Author: brendanlaschke <brendan.laschke@googlemail.com> Date: Mon May 13 08:14:47 2024 +0200 Releases page (twentyhq#5346) closes twentyhq#4103 <img width="696" alt="Bildschirmfoto 2024-05-10 um 08 16 19" src="https://github.com/twentyhq/twenty/assets/48770548/e34cd348-2522-408c-886c-636595292e0f"> commit 86caf00 Author: Brandon Yee <139765638+brandonyee-cs@users.noreply.github.com> Date: Sat May 11 03:30:03 2024 -0400 Update README.md (twentyhq#5345) Fixed Grammar commit 0fb416d Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 10 18:31:22 2024 +0200 fix: fix field select options positions after option removal (twentyhq#5350) - Adds an util `toSpliced`. We cannot used the native Javascript `Array.prototype.toSpliced` method as Chromatic servers don't support it. - Makes sure Select field options have sequential positions after removing an option (form validation schema checks that positions are sequential and considers options invalid otherwise). commit 72521d5 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Fri May 10 18:18:39 2024 +0200 Disable save button while submitting form in settings (twentyhq#5352) as per title commit ae0e31a Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Fri May 10 13:56:41 2024 +0200 Bump versions to 0.11.2 (twentyhq#5349) commit 999a668 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Fri May 10 13:00:24 2024 +0200 [fix] Do not stringify json field value if null (twentyhq#5348) as per title https://github.com/twentyhq/twenty/assets/51697796/74ff0185-f20c-4ff1-9d89-3078063f23e1 commit 8590bd7 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 10 10:26:46 2024 +0200 Refactor default value for select (twentyhq#5343) In this PR, we are refactoring two things: - leverage field.defaultValue for Select and MultiSelect settings form (instead of option.isDefault) - use quoted string (ex: "'USD'") for string default values to embrace backend format --------- Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com> commit 7728c09 Author: Thaïs <guigon.thais@gmail.com> Date: Thu May 9 01:56:15 2024 +0200 fix: fix several field bugs (twentyhq#5339) After discussing with @charlesBochet, several fixes are needed on fields: - [x] Disable Boolean field `defaultValue` edition for now (On `defaultValue` update, newly created records are not taking the updated `defaultValue` into account. Setting the `defaultValue` on creation is fine.) - [x] Disable Phone field creation for now - [x] For the Person object, display the "Phone" field as a field of type Phone (right now its type is Text; later we'll migrate it to a proper Phone field). - [x] Fix RawJson field display (displaying `[object Object]` in Record Table cells). - [x] In Settings/Data Model, on Relation field creation/edition, "Object destination" select is not working properly if an object was not manually selected (displays Companies by default but creates a relation to another random object than Companies). commit 005045c Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 8 12:13:34 2024 +0200 fix: fix Settings field form validation for certain field types (twentyhq#5335) Related to twentyhq#4295 Following twentyhq#5326, field types other than: - `FieldMetadataType.Boolean` - `FieldMetadataType.Currency` - `FieldMetadataType.Relation` - `FieldMetadataType.Select` - `FieldMetadataType.MultiSelect` Cannot be saved as they are not included in the form validation schema. This PR makes sure they are included and can therefore be created/edited. commit 8c85e7b Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 8 11:51:09 2024 +0200 fix: fix storybook:build cache output path (twentyhq#5336) commit 863554b Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Wed May 8 09:28:28 2024 +0200 Fix storybook (twentyhq#5334) Fixing the last broken stories, tests should be back to green! commit 770ee11 Author: Indrakant D <60315832+its-id@users.noreply.github.com> Date: Wed May 8 12:23:26 2024 +0530 fix: Blue Button Secondary Color Issue in Dark Mode (twentyhq#5333) fixes [twentyhq#5305](twentyhq#5305 (comment)) light mode: <img width="738" alt="Screenshot 2024-05-08 at 2 24 41 AM" src="https://github.com/twentyhq/twenty/assets/60315832/de01bbfa-6b54-4149-9930-b38840483ddf"> <br> <br> dark mode <img width="735" alt="Screenshot 2024-05-08 at 2 24 55 AM" src="https://github.com/twentyhq/twenty/assets/60315832/7c2bbc3e-e999-42ff-a320-8bf84bce8384"> commit eef497c Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Wed May 8 01:49:49 2024 +0200 Fix front jest tests (twentyhq#5331) commit bb995d5 Author: Thaïs <guigon.thais@gmail.com> Date: Tue May 7 21:07:56 2024 +0200 refactor: use react-hook-form for Field type config forms (twentyhq#5326) Closes twentyhq#4295 Note: for the sake of an easier code review, I did not rename/move some files and added "todo" comments instead so Github is able to match those files with their previous version. commit b7a2e72 Author: Thaïs <guigon.thais@gmail.com> Date: Tue May 7 21:05:45 2024 +0200 fix: fix storybook pages tests coverage (twentyhq#5319) commit ce4e78a Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Tue May 7 21:04:45 2024 +0200 Fix Rest API id UUID error (twentyhq#5321) A user has reported an issue with REST API. We have recently migrated the graphql IDs from UUID to ID type. As Rest API is leveraging the graphql API under the hood, the Rest API query builder should be updated accordingly commit b691894 Author: Weiko <corentin@twenty.com> Date: Tue May 7 21:03:15 2024 +0200 Fix query runner throwing 500 when pg_graphql detects unique constraint (twentyhq#5323) ## Context Since pg_graphql does not return specific error/exception, we have to map the error message and throw validation errors when needed This PR adds a check on unicity constraint error returned by pg_graphql when we are trying to insert duplicate records and returns a 400 instead of being handled by the exceptionHandler as a 500. commit e802cef Author: Weiko <corentin@twenty.com> Date: Tue May 7 20:54:10 2024 +0200 Fix 400 yoga errors being sent to exception handlers (twentyhq#5322) ## Context Yoga can catch its own errors and we don't want to convert them again. Moreover those errors don't have an "originalError" property and should be schema related only (400 validation) so we only want to send them back to the API caller without going through the exception handler. Also fixed an issue in the createMany which was throwing a 500 when id was missing from the creation payload. It seems the FE is always sending an ID but it should actually be optional since the DB can generate one. This is a regression from the new UUID validation introduced a few weeks ago. commit 6edecf7 Author: Jeet Desai <52026385+jeet1desai@users.noreply.github.com> Date: Wed May 8 00:22:25 2024 +0530 Fix: Icon position alignment right to left in chip (twentyhq#5330) Fixes twentyhq#5298 ![image](https://github.com/twentyhq/twenty/assets/52026385/6cfcc380-bdd1-4d7b-a0c7-58434d610ace) commit 7c3e828 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 7 16:30:25 2024 +0200 [fix] Increment cache version after object/field/relation update (twentyhq#5316) Fixes twentyhq#5276. Updates were not triggering a cache version incrementation because they do not trigger migrations while that is where the caching version logic was. We have decided to move the cache incrementation logic to the services. commit b0d1cc9 Author: Thaïs <guigon.thais@gmail.com> Date: Tue May 7 15:05:18 2024 +0200 feat: add links to Links field (twentyhq#5223) Closes twentyhq#5115, Closes twentyhq#5116 <img width="242" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/ab78495a-4216-4243-8de3-53720818a09b"> --------- Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com> commit 8074aae Author: Weiko <corentin@twenty.com> Date: Tue May 7 14:08:20 2024 +0200 Split job modules (twentyhq#5318) ## Context JobsModule is hard to maintain because we provide all the jobs there, including their dependencies. This PR aims to split jobs in dedicated modules. commit d10efb1 Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Tue May 7 20:04:55 2024 +0800 Add unit tests on object record mutation and query hooks (twentyhq#5014) ### Description Add unit tests on object record mutation and query hooks ### Refs twentyhq#4884 ### Demo ![Screenshot 2024-04-18 at 15 16 19](https://github.com/twentyhq/twenty/assets/140154534/c75f716a-725e-43eb-a703-3db29065fb18) Fixes twentyhq#4884 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit d0759ad Author: Thaïs <guigon.thais@gmail.com> Date: Tue May 7 11:44:46 2024 +0200 refactor: use react-hook-form to validate Settings/DataModel/Field (twentyhq#4916) Closes twentyhq#4295 commit 9c25c1b Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Tue May 7 11:08:25 2024 +0200 Added the 0.11 release changelog (twentyhq#5300) Added illustrations & descriptions commit a10290e Author: Sean Hellwig <147074+seanhellwig@users.noreply.github.com> Date: Tue May 7 03:07:51 2024 -0600 Adds no-debugger rule to root eslint config file (twentyhq#5312) commit ffd804d Author: Weiko <corentin@twenty.com> Date: Tue May 7 11:07:20 2024 +0200 Fix convertRecordPositionsToIntegers command for camelCase tables (twentyhq#5315) ## Context Per title, postgresql will use lowercase if not surrounded by quotes commit 3052b49 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Tue May 7 09:59:56 2024 +0300 Fixed incomplete GitHub sync (twentyhq#5310) - Added await when fetching Github data to prevent the process from exiting before saving to database Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit 43cd8cc Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Tue May 7 09:59:03 2024 +0300 Modified URLs and added button to share on LinkedIn (twentyhq#5306) - Removed the env variable and added the current URL in contributor's page - Added button to share on LinkedIn on contributor's profile - Fixed absolute image URL for release API --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit b438fc2 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Tue May 7 09:35:54 2024 +0300 Fix github stars endpoint (twentyhq#5301) - Encapsulated GitHub star response in an object - Fixed rounding of Github stars to align with Github convention - Fixed CORS issue so that endpoint can be called from twenty.com and app.twenty.com Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit a2017ea Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Mon May 6 23:43:18 2024 +0200 Improve messaging/calendar create contact performance (twentyhq#5314) In this PR, I'm refactoring the way we associate messageParticipant post person/company creation. Instead of looking a all person without participant, we are passing the one that were just created. Also, I'm making sure the message and messageParticipant creation transaction is commited before creating person/company creation (and then messageParticipant association) commit 5f467ab Author: Sean Hellwig <147074+seanhellwig@users.noreply.github.com> Date: Mon May 6 11:45:14 2024 -0600 Removes erroneous debugger call in twenty-front (twentyhq#5311) Erroneous debugger call throws an error in twenty-front app console --------- Co-authored-by: Weiko <corentin@twenty.com> commit 16ae34d Author: Thaïs <guigon.thais@gmail.com> Date: Mon May 6 17:49:53 2024 +0200 fix: fix Chromatic script memory allocation in CI (twentyhq#5299) commit 2c9f50e Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Mon May 6 17:00:38 2024 +0200 Fix enum defaultValue issues (twentyhq#5307) This PR fixes several issues: - enum naming should be: {tableName}_{fieldName}_enum and respecting the case - defaultValue format handled in the FE should respect the one in the BE In my opinion we should refactor the defaultValue: - we should respect backend format: "'myDefault'" for constant default and "0" for float, "now" for expressions, "true" for booleans. we can rename it to defaultValueExpression if it is more clear but we should not maintain a parallel system - we should deprecate option: isDefaultValue which is confusing - we should re-work backend to have a more unified approach between fields and avoid having if everywhere about select, multiselect, and currency cases. one unified "computeDefaultValue" function should do the job What is still broken: - currency default Value on creation. I think we should do the refactor first - select default value edition. These cases do not break the schema but are ignored currently commit ff77a4e Author: Pacifique LINJANJA <pacilinja2@gmail.com> Date: Mon May 6 15:30:03 2024 +0200 Feat/migrate password reset token to app token table (twentyhq#5051) # This PR - Fix twentyhq#5021 - Migrates `passwordResetToken` and `passwordResetTokenExpiresAt` fields from `core.users` to `core.appToken` - Marks those fields as `deprecated` so we can remove them later if we are happy with the transition -- I took this decision on my own, @FellipeMTX let me know what you think about it, we can also remove them straight away if you think it's better - Fixed the `database:migration` script from the `twenty-server` to: ```json "database:migrate": { "executor": "nx:run-commands", "dependsOn": ["build"], // added this line "options": { "cwd": "packages/twenty-server", "commands": [ "nx typeorm -- migration:run -d src/database/typeorm/metadata/metadata.datasource", "nx typeorm -- migration:run -d src/database/typeorm/core/core.datasource" ], "parallel": false } }, ``` The migration script wasn't running because the builds were not executed - [x] Added unit tests for the token.service file's changes Looking forward to hearing feedback from you cc: @charlesBochet --------- Co-authored-by: Weiko <corentin@twenty.com> commit b207d10 Author: Jérémy M <jeremy.magrin@gmail.com> Date: Mon May 6 14:12:11 2024 +0200 feat: extend twenty orm (twentyhq#5238) This PR is a follow up of PR twentyhq#5153. This one introduce some changes on how we're querying composite fields. We can do: ```typescript export class CompanyService { constructor( @InjectWorkspaceRepository(CompanyObjectMetadata) private readonly companyObjectMetadataRepository: WorkspaceRepository<CompanyObjectMetadata>, ) {} async companies(): Promise<CompanyObjectMetadata[]> { // Old way // const companiesFilteredByLinkLabel = await this.companyObjectMetadataRepository.find({ // where: { xLinkLabel: 'MyLabel' }, // }); // Result will return xLinkLabel property // New way const companiesFilteredByLinkLabel = await this.companyObjectMetadataRepository.find({ where: { xLink: { label: 'MyLabel' } }, }); // Result will return { xLink: { label: 'MyLabel' } } property instead of { xLinkLabel: 'MyLabel' } return companiesFilteredByLinkLabel; } } ``` Also we can now inject `TwentyORMManage` class to manually create a repository based on a given `workspaceId` using `getRepositoryForWorkspace` function that way: ```typescript export class CompanyService { constructor( // TwentyORMModule should be initialized private readonly twentyORMManager, ) {} async companies(): Promise<CompanyObjectMetadata[]> { const repository = await this.twentyORMManager.getRepositoryForWorkspace( '8bb6e872-a71f-4341-82b5-6b56fa81cd77', CompanyObjectMetadata, ); const companies = await repository.find(); return companies; } } ``` commit 154ae99 Author: Weiko <corentin@twenty.com> Date: Mon May 6 13:44:40 2024 +0200 [flexible-schema] Add reserved keyword check on object creation (twentyhq#5303) ## Context Because creating an object in metadata also generates a graphql type and because graphql does not allow 2 types with the same name, we have to manage a list of reserved keywords that can't be used as object names. Currently we were maintaining a list of the core objects but we also have to introduce composite fields that are also generated as gql types. commit 2828492 Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Mon May 6 10:33:48 2024 +0100 chore: add nx/project.json to twenty-chrome-extension (twentyhq#5217) Fix for `build` CI on `twenty-chrome-extension` --------- Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com> commit a1c95b9 Author: Orinami Olatunji <16918891+orinamio@users.noreply.github.com> Date: Mon May 6 09:48:34 2024 +0100 feat: add sign out and book a call buttons to "Choose your plan" page (twentyhq#5292) Resolves twentyhq#5281 <img width="399" alt="buttions-light" src="https://github.com/twentyhq/twenty/assets/16918891/d1a0ba4e-696e-476b-a792-01ae19a06a55"> <img width="390" alt="buttons-dark" src="https://github.com/twentyhq/twenty/assets/16918891/40bea83b-bc32-45ea-a522-ecf8239cfe51"> commit 77c0dee Author: martmull <martmull@hotmail.fr> Date: Sat May 4 15:21:37 2024 +0200 Add missing info from verify mutation (twentyhq#5283) Fix wrong error billing message commit fc87a51 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 3 19:19:21 2024 +0200 fix: fix storybook:build memory allocation error in CI (twentyhq#5284) commit 839a7e2 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 3 19:11:03 2024 +0200 Bump versions to 0.11 (twentyhq#5289) As per title! Bumping to 0.11.1 as we have already merged a few minor upgrades on top of 0.11 commit 6fda556 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 3 19:10:55 2024 +0200 Fix Filtered index view infinite re-render (twentyhq#5286) The whole viewBar component was re-rendered on view changes which was introducing performance issue. The need was to compute page title, this should be done in a lower level component commit a750901 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 3 19:10:33 2024 +0200 Remove Feature Flag on Calendar (twentyhq#5288) Remove Calendar feature Flag! commit 381bf0f Author: Weiko <corentin@twenty.com> Date: Fri May 3 19:05:56 2024 +0200 Create convert record positions to integers command (twentyhq#5287) ## Context Positions are used within a view to display and sort the different records of standard/custom object. When we add a new record and want to put it before the existing first record, we have to use float values to insert them in the DB and respect the desired order. We are adding a new command that can be executed to flatten those positions. --------- Co-authored-by: bosiraphael <raphael.bosi@gmail.com> commit abf0f46 Author: Weiko <corentin@twenty.com> Date: Fri May 3 18:47:31 2024 +0200 Fix yoga patch user id cache (twentyhq#5285) Co-authored-by: Charles Bochet <charles@twenty.com> commit 2067069 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Fri May 3 17:38:41 2024 +0300 Added OG Image (twentyhq#5251) - Added dynamic OG Image to share and download in contributors page <img width="1176" alt="Screenshot 2024-05-02 at 16 24 00" src="https://github.com/twentyhq/twenty/assets/102751374/0579454b-ccc7-46ba-9875-52458f06ee82"> - Added dynamic metadata - Added design to contributor page - Added a NEXT_PUBLIC_HOST_URL in the .env file Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit a5a9e0e Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Fri May 3 16:30:58 2024 +0200 Remove isMultiSelect feature flag (twentyhq#5280) As title Co-authored-by: Thomas Trompette <thomast@twenty.com> commit 5285a42 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Fri May 3 16:14:37 2024 +0200 Fix export with relations (twentyhq#5279) As title. Only relations are exported right now Co-authored-by: Thomas Trompette <thomast@twenty.com> commit 1d9cd23 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 3 15:35:49 2024 +0200 Fix white screen on token expire (twentyhq#5271) While using middleware (executed pre-graphql) for graphql endpoint, we need to swallow exception and return errors with a 200. Otherwise it's not a valid graphql response commit 2a0c74a Author: Weiko <corentin@twenty.com> Date: Fri May 3 15:32:34 2024 +0200 [calendar] Fix calendar sync status (twentyhq#5272) ## Context There is no calendarChannel syncStatus column compared to the messageChannel table. In the meantime, we are trying to infer its status based on the fact that the connection hasn't failed and the sync is enabled commit 87994c2 Author: martmull <martmull@hotmail.fr> Date: Fri May 3 15:03:06 2024 +0200 4900 multi select field front implement expanded cells (twentyhq#5151) Add expanded cell https://github.com/twentyhq/twenty/assets/29927851/363f2b44-7b3c-4771-a651-dfc4014da6ac ![image](https://github.com/twentyhq/twenty/assets/29927851/741bb0f9-fd1e-4a38-8b0e-71e144376876) commit 1351a95 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 3 14:59:09 2024 +0200 fix: fix storybook coverage task (twentyhq#5256) - Fixes storybook coverage command: the coverage directory path was incorrect, but instead of failing `storybook:test --configuration=ci`, it was hanging indefinitely. - Switches back to `concurrently` to launch `storybook:static` and `storybook:test` in parallel, which allows to use options to explicitly kill `storybook:static` when `storybook:test` fails. - Moves `storybook:test --configuration=ci` to its own command `storybook:static:test`: used in the CI, and can be used locally to run storybook tests without having to launch `storybook:dev` first. - Creates command `storybook:coverage` and enables cache for this command. - Fixes Jest tests that were failing. - Improves caching conditions for some tasks (for instance, no need to invalidate Jest test cache if only Storybook story files were modified). commit 5042186 Author: Weiko <corentin@twenty.com> Date: Fri May 3 14:52:20 2024 +0200 Fix filter transform with logic operators (twentyhq#5269) Various fixes - Remote objects are read-only for now, we already hide and block most of the write actions but the button that allows you to add a new record in an empty collection was still visible. - CreatedAt is not mandatory on remote objects (at least for now) so it was breaking the show page, it now checks if createdAt exists and is not null before trying to display the human readable format `Added x days ago` - The filters are overwritten in query-runner-args.factory.ts to handle NUMBER field type, this was only working with filters like ``` { "id": { "in": [ 1 ] } ``` but not with more depth such as ``` "and": [ {}, { "id": { "in": [ 1 ] } } ] ``` - Fixes CREATE FOREIGN TABLE raw query which was missing ",". commit 30ffe01 Author: Weiko <corentin@twenty.com> Date: Fri May 3 10:30:47 2024 +0200 Fix token validation on graphql IntrospectionQuery (twentyhq#5255) ## Context We recently introduced a change that now throws a 401 if the token is invalid or expired. The first implementation is using an allow list and 'IntrospectionQuery' was missing so the playground was broken. The check has been updated and we now only check the excludedOperations list if a token is not present. This is because some operations can be both used as loggedIn and loggedOut so we want to validate the token for those sometimes (and set the workspace, user, cache version, etc). Still not a very clean solution imho. commit 1430a67 Author: Félix Malfait <felix.malfait@gmail.com> Date: Fri May 3 09:38:03 2024 +0200 Quick job update (twentyhq#5265) commit fe758e1 Author: Weiko <corentin@twenty.com> Date: Thu May 2 17:36:57 2024 +0200 fix workspace-member deletion with existing attachments/documents (twentyhq#5232) ## Context We have a non-nullable constraint on authorId in attachments and documents, until we have soft-deletion we need to handle deletion of workspace-members and their attachments/documents. This PR introduces pre-hooks to deleteOne/deleteMany This is called when a user deletes a workspace-member from the members page Next: needs to be done on user level as well. This is called when users try to delete their own accounts. I've seen other issues such as re-creating a user with a previously used email failing. commit f9c19c8 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Thu May 2 17:13:15 2024 +0200 Build stripe integration on backend side (twentyhq#5246) Adding stripe integration by making the server logic independent of the input fields: - query factories (remote server, foreign data wrapper, foreign table) to loop on fields and values without hardcoding the names of the fields - adding stripe input and type - add the logic to handle static schema. Simply creating a big object to store into the server Additional work: - rename username field to user. This is the input intended for postgres user mapping and we now need a matching by name --------- Co-authored-by: Thomas Trompette <thomast@twenty.com> commit 5128ea3 Author: Thaïs <guigon.thais@gmail.com> Date: Thu May 2 16:15:36 2024 +0200 fix: fix storybook build script not found by Chromatic (twentyhq#5235) commit f802964 Author: Charles Bochet <charles@twenty.com> Date: Thu May 2 15:55:11 2024 +0200 Bump to 0.10.6 commit 3015f4c Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Thu May 2 15:50:40 2024 +0200 Fix sync metadata script (twentyhq#5253) While troubleshooting self-hosting migration, we run into issues with sync-metadata script introduced by recent changes commit 8d90c60 Author: Weiko <corentin@twenty.com> Date: Thu May 2 15:47:43 2024 +0200 [calendar] hide calendar settings until implemented (twentyhq#5252) ## Context Those settings are not implemented yet, we would like to move them to a different page as well. In the meantime, we are hiding them since we plan to launch calendar in the next release and this won't be implemented before. We will implement it in this twentyhq#5140 commit 1da64c7 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 2 15:25:54 2024 +0200 [feat] Minor updates to the edit db connection page (twentyhq#5250) - Add placeholders in db connection edit page - Fix icon alignement and size (should not change) in Info banner commit 05a90d6 Author: brendanlaschke <brendan.laschke@googlemail.com> Date: Thu May 2 14:21:19 2024 +0200 Constant api version (twentyhq#5248) closes twentyhq#5206
Fix a bug introduced in [this PR](https://github.com/twentyhq/twenty/pull/5254/files) When a subscription is created, we need to create the subscription, #5254 return if no subscription is created so the sub can never be created at all This PR fixes that
Fix a bug introduced in [this PR](https://github.com/twentyhq/twenty/pull/5254/files) When a subscription is created, we need to create the subscription, #5254 return if no subscription is created so the sub can never be created at all This PR fixes that
commit a4a63b0 Merge: bb2d74f d770e56 Author: Shubham Pawar <82868470+srp-pawar@users.noreply.github.com> Date: Thu May 30 15:38:46 2024 +0530 Merge branch 'main' of https://github.com/synapsenet-arena/lead360 commit d770e56 Author: Indrakant D <60315832+its-id@users.noreply.github.com> Date: Thu May 30 14:30:23 2024 +0530 fix: Poor contrast on SlashMenu (twentyhq#5342) fixes [twentyhq#5304](twentyhq#5304 (comment)) dark mode <img width="1425" alt="Screenshot 2024-05-09 at 1 59 56 AM" src="https://github.com/twentyhq/twenty/assets/60315832/70230f9e-607a-462a-8823-db8350d86bc4"> <br> <br> Light mode <img width="1448" alt="Screenshot 2024-05-09 at 2 01 06 AM" src="https://github.com/twentyhq/twenty/assets/60315832/523488a5-21de-4911-b11b-e28fba9adae6"> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit 339aee6 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 30 10:45:46 2024 +0200 Run queries within queryRunner transaction sequentially (twentyhq#5668) Within a queryRunner transaction, it is important that migrations are run subsequently and not concurrently: otherwise if an error is thrown by one of the query, it will abort the transaction; any subsequent query running on the same queryRunner will cause the error _current transaction is aborted, commands ignored until end of transaction block_. Using an async function in a map as below does not guarantee that each query terminates before iterating over the next one, which can be an issue as described above, and which seems to cause [this sentry](https://twenty-v7.sentry.io/issues/5258406553/?environment=prod&project=4507072499810304&query=is%3Aunresolved+issue.priority%3A%5Bhigh%2C+medium%5D&referrer=issue-stream&statsPeriod=7d&stream_index=4). commit 9a23f9b Author: martmull <martmull@hotmail.fr> Date: Wed May 29 23:35:32 2024 +0200 4699 update the onboarding app placeholder (twentyhq#5616) ## Before ![image](https://github.com/twentyhq/twenty/assets/29927851/e9055c16-eed3-48f1-a4e2-df115a6c2247) ## After ![image](https://github.com/twentyhq/twenty/assets/29927851/254c7573-81c7-487e-b653-5b0ba311cf9e) commit bcb582f Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Wed May 29 21:29:33 2024 +0200 Fixed button icon bug (twentyhq#5670) There was a bug with the isEmpty variable actually being a function from lodash instead of the result of `isFieldEmpty()`. commit 008813f Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Wed May 29 13:45:32 2024 +0100 fix: twenty-chrome-extension:"graphql:generate" (twentyhq#5649) fixes: twentyhq#5645 commit df2b76f Author: R894 <54629307+R894@users.noreply.github.com> Date: Wed May 29 14:34:29 2024 +0300 4848 - Update Checkbox component (twentyhq#4883) # Summary * Add hover state which defaults to **false** * Add disable state ![chrome_KV2AltSmBK](https://github.com/twentyhq/twenty/assets/54629307/976fba28-b975-4acc-9d06-c14c4fe339d8) closes twentyhq#4848 --------- Co-authored-by: Charles Bochet <charles@twenty.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit ecff27f Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Wed May 29 12:45:29 2024 +0200 Improved hotkey scopes docs (twentyhq#5647) We have a lot of contributors that are not aware of our method for implementing hotkey listeners. I updated the documentation to provide clear examples so that users can refer to it and maintainers and reviewers can point to it when they see onKeyDown implementations. commit 5bb205b Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 28 18:01:05 2024 +0200 Fix update remote field metadata (twentyhq#5638) Closes twentyhq#5610. & update fetch-policy when fetching database on the remote databases show page to get freshest status. commit ebb1aa0 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Tue May 28 15:54:57 2024 +0200 Add label to remote server (twentyhq#5637) Added label on remote server entity. Also added the possibility to update schema. <img width="688" alt="Capture d’écran 2024-05-28 à 15 36 31" src="https://github.com/twentyhq/twenty/assets/22936103/c9786122-8459-4876-833e-c9a1d7d27829"> commit ae6d5af Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Tue May 28 11:32:57 2024 +0200 Add missing stripe tables (twentyhq#5621) As title Still adding not working tables / columns commented so we know why these are not available. commit 443fb53 Author: Sage Bain <47053579+Shyesta@users.noreply.github.com> Date: Mon May 27 13:18:12 2024 -0700 Updated Past Events Font-Color to Primary for Visibility (twentyhq#5572) Issue: [twentyhq#5164](twentyhq#5164) Updated font-color of the title of past calendar events to be primary to improve visibility. Calendar event time font-color remains unchanged. Before: ![image](https://github.com/twentyhq/twenty/assets/47053579/8556eefb-d79e-4924-a15b-1609c0720aa3) After: ![image](https://github.com/twentyhq/twenty/assets/47053579/a2d3639c-0a04-4db6-998e-f76b01e1e392) The year in month-year at the top of these screenshots also appears to be in tertiary font-color which can be adjusted too if that feels not visible enough. --------- Co-authored-by: ktang520 <ktang520@gmail.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit ef64911 Author: Piyush Yadav <72244570+piyushyadav1617@users.noreply.github.com> Date: Mon May 27 21:36:34 2024 +0530 fix: Requests for new captcha token after a wrong password is entered. (twentyhq#5614) Fix issue where captcha did not reset after an incorrect password was entered and invalid token error was thrown, ensuring users receive a new captcha token on each attempt. before: ![Screenshot 2024-05-27 191707](https://github.com/twentyhq/twenty/assets/72244570/7530c569-a3b5-46b9-96aa-b03c21f1e99a) after: user can try again with a new captcha token and login smoothly without encountering the invalid token error. commit 9df3b40 Author: Félix Malfait <felix.malfait@gmail.com> Date: Mon May 27 16:08:00 2024 +0200 Fix search public api key (twentyhq#5609) It was the wrong API key since we changed the index commit 930237e Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 16:07:38 2024 +0200 Bump to version v0.12.1 (twentyhq#5608) commit f58c961 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 16:05:22 2024 +0200 Remove feature flag for Links field (twentyhq#5606) commit 8579714 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 15:16:50 2024 +0200 Bump version to v0.12.0 (twentyhq#5604) commit 1715aa8 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Mon May 27 15:16:21 2024 +0200 Remove hasCalendarEventStarted flaky test (twentyhq#5603) Remove hasCalendarEventStarted flaky test commit 2f52e0f Author: martmull <martmull@hotmail.fr> Date: Mon May 27 15:13:11 2024 +0200 5505 forgot password feature broken (twentyhq#5602) - add missing `excludedOperations` in `packages/twenty-server/src/engine/middlewares/graphql-hydrate-request-from-token.middleware.ts` - update generated graphql file - Add missing redirection to index after password update commit 113dfba Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 14:43:39 2024 +0200 Disable perf stories in chromatic (twentyhq#5597) Disabled chromatic for performance stories. commit 56ef8fc Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Mon May 27 14:42:45 2024 +0200 Fix missing avatar on People table (twentyhq#5601) As per title! commit 2c009af Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 14:02:38 2024 +0200 Added RecordFieldValueSelectorContext (twentyhq#5596) Added RecordFieldValueSelectorContext on mock container so that new record value using use-context-selector can work properly in fields module. commit 3051f3a Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 13:58:31 2024 +0200 Fixed new record value context selector sync in activity drawer (twentyhq#5594) Forgot to add `<RecordValueSetterEffect recordId={...} />` effect component for activity drawer during refactor. commit 8ee98e0 Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 13:40:53 2024 +0200 Fixed pending row edit mode (twentyhq#5592) This PR fixes creation on table. With the recent optimization refactor, we now use a custom event to trigger edit and soft focus mode on a table cell. There's a specific case when we create a pending row to allow creating a new record, where the custom event gets triggered before the cell exists, so it cannot listen and put itself in edit mode. The fix is passing down a new isPendingRow in the context, so the identifier cell on a pending row can put itself in edit mode during its first render. commit 2a1ea32 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 12:15:57 2024 +0200 Fix SnackBar visual (twentyhq#5569) cf https://discord.com/channels/1130383047699738754/1243478998810497054 commit bcb5cf7 Author: martmull <martmull@hotmail.fr> Date: Mon May 27 12:14:50 2024 +0200 Remove flash after create workspace (twentyhq#5589) ## Before https://github.com/twentyhq/twenty/assets/29927851/a6b4f580-4f01-4f5b-a023-f9fa0d9f9c28 ## After https://github.com/twentyhq/twenty/assets/29927851/2a1feb44-27ce-457d-86a2-eea46a313f98 commit 1f9c340 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Mon May 27 11:50:19 2024 +0200 Fix record board broken position (twentyhq#5588) Position were not queries anymore while populating kanban board, breaking the drag and drop feature commit 446c556 Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 11:30:01 2024 +0200 Fixed entity chip navigate (twentyhq#5587) Fixed EntityChip, navigate had been removed during performance optimization, I put it back. commit 10abd7f Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Mon May 27 16:38:37 2024 +0800 User & Metadata Loading (twentyhq#5347) ### Description User & Metadata Loading ### Refs twentyhq#4456 ### Demo https://github.com/twentyhq/twenty/assets/140154534/4c20fca6-feaf-45f6-ac50-6532d2ebf050 Fixes twentyhq#4456 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit 74d7479 Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Mon May 27 09:56:33 2024 +0200 Added Data Model Diagram to 0.12 changelog (twentyhq#5585) # Data Model Diagram Introduced an "Data Model Diagram" feature that allows users to visualize the relationships between different objects within the CRM. ![image](https://github.com/twentyhq/twenty/assets/19412894/70f81a93-9166-4036-bb21-f332a42bd850) --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 9c046dc Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Mon May 27 15:56:08 2024 +0800 Prefetch Skeleton Loading on Indexes and Shows (twentyhq#5545) ### Description Prefetch Skeleton Loading on Indexes and Shows ### Refs twentyhq#4458 ### Demo https://jam.dev/c/a1ad04e1-80b6-4b2a-b7df-373f52f4b169 https://jam.dev/c/c5038b97-2f18-4c29-8dee-18c09376e5ee Fixes: twentyhq#4458 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Matheus <matheus_benini@hotmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit cfd83d6 Author: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> Date: Sat May 25 19:09:25 2024 +0500 [UI] Remove theme constants from twenty-front and use the ones exported from twenty-ui. (twentyhq#5558) Some parts of the Frontend used theme constants exported from `modules/ui` while other parts used theme constants exported from `twenty-ui`. This PR centralizes theme constants by removing them from `modules/ui` completely. commit 9c325eb Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Sat May 25 12:29:20 2024 +0200 Fix opportunities board and CI (twentyhq#5573) RelationFieldDisplay was estabilishing a dependency on RecordTableContext which is not right as FieldDisplay can be loaded outside of RecordTable context I'm using an util directly but understand this is a bit heavier than before in term of performance. If we want to pre-compute this, we will need to be a bit smarter. Also the previous code based on fieldName was not right, we should check relationObjectMetadataItem instead commit 1c867d4 Author: brendanlaschke <brendan.laschke@googlemail.com> Date: Sat May 25 10:38:27 2024 +0200 Add Object Alternative view (twentyhq#5356) Current state: <img width="704" alt="Bildschirmfoto 2024-05-11 um 17 57 33" src="https://github.com/twentyhq/twenty/assets/48770548/c979f6fd-083e-40d3-8dbb-c572229e0da3"> I have some things im not really happy with right now: * If I have different connections it would be weird to display a one_one or many_one connection differently * The edges overlay always at one hand at the source/target (also being a problem with the 3 dots vs 1 dot) * I would have to do 4 versions of the 3 dot marker variant as an svg with exactly the same width as the edges wich is not as easy as it seems :) * The initial layout is not really great - I know dagre or elkjs could solve this but maybe there is a better solution ... If someone has a good idea for one or more of the problems im happy to integrate them ;) --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 9080981 Author: martmull <martmull@hotmail.fr> Date: Sat May 25 10:36:59 2024 +0200 5509 remove flash on intermediate verify step when sign in with sso (twentyhq#5526) - remove flash on /verify - remove flash on signInUp - remove useless redirections and hooks - Remove DefaultHomePage component - Move redirections to /objects/companies in PageChangeEffect - add useShowAuthModal hooks and tests - add usePageChangeEffectNaviteLocation hooks and tests - fix refresh token expired produces blank screen commit f455ad4 Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Sat May 25 10:29:30 2024 +0200 0.12 changelog (twentyhq#5560) Added the changelog items for: - Skeleton loading - Blocklist - Notification new design commit def1774 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Sat May 25 10:29:00 2024 +0200 [Fix] Object names should be camel cased (twentyhq#5571) as per title commit 936ac40 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Fri May 24 18:55:21 2024 +0200 Introduce a new feature flag for contact creation (twentyhq#5570) Introduce new feature flag `IS_CONTACT_CREATION_FOR_SENT_AND_RECEIVED_EMAILS_ENABLED` to allow contacts to be created for sent and received emails. commit a017847 Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Fri May 24 18:53:37 2024 +0200 Feat/performance-refactor-styled-component (twentyhq#5516) In this PR I'm optimizing a whole RecordTableCell in real conditions with a complex RelationFieldDisplay component : - Broke down getObjectRecordIdentifier into multiple utils - Precompute memoized function for getting chip data per field with useRecordChipDataGenerator() - Refactored RelationFieldDisplay - Use CSS modules where performance is needed instead of styled components - Create a CSS theme with global CSS variables to be used by CSS modules commit 3680647 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Fri May 24 18:33:44 2024 +0200 Fix sync token is no longer valid in calendar sync (twentyhq#5563) Fix sync token is no longer valid in calendar sync. https://developers.google.com/apps-script/add-ons/calendar/conferencing/sync-calendar-changes#implement_a_sync_trigger_function _Caution: Occasionally sync tokens are invalidated by the server, resulting in a Sync token is no longer valid error. When this happens, your code should conduct a full sync and replace any stored sync tokens you have._ commit 87465b1 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Fri May 24 18:27:54 2024 +0200 5507 modify the partial sync cron to work with the new statuses (twentyhq#5512) Closes twentyhq#5507 commit 3de5ed3 Author: Shashank Vishwakarma <shashank000s4@gmail.com> Date: Fri May 24 21:41:08 2024 +0530 Added: The support for CZK Currency (twentyhq#5561) Added the Czech Koruna currency support. - Added the CZK to the currency code. - Set the desired CZK icon to `TablerIcons` to use it within the `twenty-ui` fixes: twentyhq#5530 ![Screenshot (335)](https://github.com/twentyhq/twenty/assets/140178357/a19a60b8-2261-44b3-9ed2-5c35424631a1) ![Screenshot (336)](https://github.com/twentyhq/twenty/assets/140178357/20944e43-901c-4dda-b986-a47763fb5f9b) commit c7d61e1 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 18:06:57 2024 +0200 feat: simplify field preview logic in Settings (twentyhq#5541) Closes twentyhq#5382 TODO: - [x] Test all field previews in app - [x] Fix tests - [x] Fix JSON preview commit 1ae7fbe Author: Peter W <techieshark@gmail.com> Date: Sat May 25 02:03:55 2024 +1000 docs: replace 'he' with 'they' (twentyhq#5562) Why: * allows for approximate doubling of the user base ;-) commit 736c79a Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 17:59:08 2024 +0200 fix: Links field fixes (twentyhq#5565) Related issue: twentyhq#3607 commit fa3443c Author: Félix Malfait <felix.malfait@gmail.com> Date: Fri May 24 17:58:37 2024 +0200 Improve autoload (twentyhq#5566) Set a 1000px margin to start fetching more records before we hit the bottom of the page, makes the scrolling experience a lot smoother :) commit 9ad3fb9 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 17:58:12 2024 +0200 feat: move Snackbar to top of screen on mobile (twentyhq#5567) ... and change SnackBar blur to medium. @Bonapara Following twentyhq#5515 (comment) Related issue: twentyhq#5383 <img width="386" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/de2f0be4-9d9c-4013-bed2-774e0599ce49"> commit de9321d Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Fri May 24 16:52:05 2024 +0200 Fixed sync between record value context selector and record store (twentyhq#5517) This PR introduces many improvements over the new profiling story feature, with new tests and some refactor with main : - Added use-context-selector for getting value faster in display fields and created useRecordFieldValue() hook and RecordValueSetterEffect to synchronize states - Added performance test command in CI - Refactored ExpandableList drill-downs with FieldFocusContext - Refactored field button icon logic into getFieldButtonIcon util - Added RelationFieldDisplay perf story - Added RecordTableCell perf story - First split test of useField.. hook with useRelationFieldDisplay() - Fixed problem with set cell soft focus - Isolated logic between display / soft focus and edit mode in the related components to optimize performances for display mode. - Added warmupRound config for performance story decorator - Added variance in test reporting commit 82ec30c Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 24 12:26:42 2024 +0200 Expandable list remove anchor (twentyhq#5559) Deprecate anchorElement on ExpandableList to avoid props drilling. The anchorElement should be the ExpandableList container itself commit 7f7ea59 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 12:15:17 2024 +0200 refactor: reset field default value on type change in Settings (twentyhq#5534) Related issue: twentyhq#5412 See twentyhq#5436 (comment) for context. commit 18fafbd Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Fri May 24 10:57:46 2024 +0200 Rename findAvailableTables endpoint (twentyhq#5557) As title commit 4bd0aaf Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Fri May 24 10:20:08 2024 +0200 [fix] Update remote table sync status in cache after schema update (twentyhq#5553) Upon schema update, sync status can change from synced to non_synced in case the update regards a table that was deleted. Let's update the sync status too to avoid displaying the table as still synchronized. https://github.com/twentyhq/twenty/assets/51697796/7ff2342b-ce9f-4179-9b76-940617cf1292 commit f9a3d5f Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Thu May 23 23:01:47 2024 +0100 chore: remove OAuth from chrome extension (twentyhq#5528) Since we can access the tokens directly from cookies of our front app, we don't require the OAuth process to fetch tokens anymore commit fede721 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Thu May 23 22:36:50 2024 +0200 Add sorter for distant tables (twentyhq#5546) As title commit e00b19e Author: Jeet Desai <52026385+jeet1desai@users.noreply.github.com> Date: Thu May 23 21:56:08 2024 +0530 Change email tab placeholder illustration (twentyhq#5550) Fixes twentyhq#5502 ![image](https://github.com/twentyhq/twenty/assets/52026385/ca73add9-101a-4517-96d7-c8fde883c066) ![image](https://github.com/twentyhq/twenty/assets/52026385/120f495b-db07-49c8-a058-5b77b2e06c1c) commit fe5b558 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 23 17:00:24 2024 +0200 [FE] Update remote table schema + refactor Tables list (twentyhq#5548) Closes twentyhq#5062. Refactoring tables list to avoid rendering all toggles on each sync or schema update while using fresh data: - introducing id for RemoteTables in apollo cache - manually updating the cache for the record that was updated after a sync or schema update instead of fetching all tables again commit 0d6fe7b Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Thu May 23 14:59:34 2024 +0200 Handle relations separately for remotes (twentyhq#5538) Remote object id columns are not removed anymore when a remote object is unsynced. This is because we do not use relations anymore. We only created the id field. So the current behavior that was implemented for custom objects, to retrieve the fields to deleted, does not work. Since remote object relations are really different, I extracted the logic from `objectMetadataService`. It now handles only the relations for custom objects creation and deletion (this part should be extracted as well). I create a new remote table relation service that will: - fetch objects metadata linked to remotes (favorites, activityTargets...) - look for columns based on remote object name - delete the fields and columns commit 8019ba8 Author: Thaïs <guigon.thais@gmail.com> Date: Thu May 23 12:19:50 2024 +0200 feat: implement new SnackBar design (twentyhq#5515) Closes twentyhq#5383 ## Light theme <img width="905" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/ab0683c5-ded3-420c-ace6-684d38794a2d"> ## Dark theme <img width="903" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/4e43ca35-438d-4ba0-8388-1f061c6ccfb0"> commit 453525c Author: Jérémy M <jeremy.magrin@gmail.com> Date: Thu May 23 12:02:40 2024 +0200 fix: workspace health showing error for multi select (twentyhq#5547) Fix `workspace:health` command not working properly with `MULTI_SELECT` field metadata type. commit 7b1bea3 Author: Charles Bochet <charles@twenty.com> Date: Thu May 23 08:41:37 2024 +0200 Release patch v0.11.3 commit b8eef21 Author: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> Date: Thu May 23 10:46:31 2024 +0500 [UI] Extract our ColorSample and Tag components from twenty-front to twenty-ui. (twentyhq#5543) Two more components extracted out of twenty-front: `ColorSample` and `Tag`. commit 6b1d4e0 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 23 07:43:09 2024 +0200 [Fix] Do not allow names with whitespaces (twentyhq#5542) As per title commit 04bf697 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 18:06:32 2024 +0200 feat: add feature flag to activate Links field creation (twentyhq#5535) Related issue: twentyhq#3607 commit 4e533bf Author: Weiko <corentin@twenty.com> Date: Wed May 22 17:14:33 2024 +0200 fix pgGraphqlQuery with concurent search path (twentyhq#5537) commit 5448512 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Wed May 22 14:21:32 2024 +0200 Add quotes for table name (twentyhq#5533) As title commit 4b25181 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Wed May 22 15:02:54 2024 +0300 Fixed congratulations bot (twentyhq#5532) - Fixed bot - Added list of team members commit 40bd42e Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Wed May 22 13:06:00 2024 +0300 Added Algolia Search (twentyhq#5524) -Added Algolia Search Box : <img width="707" alt="Screenshot 2024-05-22 at 10 05 13" src="https://github.com/twentyhq/twenty/assets/102751374/d26f9748-2a80-4690-88ca-16b078c52915"> -Added Algolia Search Bar: <img width="294" alt="Screenshot 2024-05-22 at 10 05 56" src="https://github.com/twentyhq/twenty/assets/102751374/ad503894-4ae1-41e4-bd4b-6241f7679142"> --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 2e79bcc Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Wed May 22 11:20:44 2024 +0200 Sync stripe tables (twentyhq#5475) Stripe tables do not support `hasNextPage` and `totalCount`. This may be because of stripe wrapper do not properly support `COUNT` request. Waiting on pg_graphql answer [here](supabase/pg_graphql#519). This PR: - removes `totalCount` and `hasNextPage` form queries for remote objects. Even if it works for postgres, this may really be inefficient - adapt the `fetchMore` functions so it works despite `hasNextPage` missing - remove `totalCount` display for remotes - fix `orderBy` --------- Co-authored-by: Thomas Trompette <thomast@twenty.com> commit 35c1f97 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 11:18:16 2024 +0200 perf: use Nx cache for Chromatic script (twentyhq#5457) Makes sure the `twenty-front:chromatic:ci` task in the CI job `front-chromatic-deployment` reuses the cache of the Storybook built in the CI job `front-sb-build` instead of re-building Storybook so Chromatic is deployed faster in the CI. commit bb6df43 Author: Jérémy M <jeremy.magrin@gmail.com> Date: Wed May 22 11:11:05 2024 +0200 fix: twentyORM datasource configuration for ssl (twentyhq#5529) We need to specify ssl configuration for TwentyORM datasources when needed, otherwise connection will be broken. commit 474dfd7 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 10:55:24 2024 +0200 fix: fix Apollo client cache update error for Links field (twentyhq#5473) Fixes twentyhq#5437 commit d1cbd70 Author: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> Date: Wed May 22 13:52:35 2024 +0500 Extract typography components from twenty-front to twenty-ui. (twentyhq#5466) Removed the following components from twenty-front and moved them to twenty-ui. - H1Title. - H2Title. - H3Title. Moving components in smaller chunks to ease the process of resolving conflicts. <img width="1255" alt="image" src="https://github.com/twentyhq/twenty/assets/125115953/a3953659-5dfd-4d03-a6de-50b064129d55"> Co-authored-by: Charles Bochet <charles@twenty.com> commit e2b48e2 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 10:42:08 2024 +0200 feat: edit link in Links field (twentyhq#5447) Closes twentyhq#5376 commit 47a6146 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 10:32:37 2024 +0200 feat: set primary link in Links field (twentyhq#5429) Closes twentyhq#5375 <img width="381" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/d87773df-c685-466b-ae35-a8349f79df48"> _____ ~~Note that I ugraded `@apollo/client` to v3.10.4 because current version is causing an error when trying to write the Links field in the cache in `updateRecordFromCache` (`TypeError: Cannot convert object to primitive value`). After upgrade, the error is gone but console still prints a warning (here the custom object name is `Listing` and the Links field name is `website`):~~ <img width="964" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/834b8909-e8dc-464a-8c5a-6b7e4c964a7f"> ~~It might be because the Links field seems to somehow have a `__typename` property in Apollo's cache, so Apollo considers it as a record and tries to match the object's cache with an id, but the Links field value has no id so it can't find it. We might want to find where this `__typename` is added and remove it from the Links object in the cache.~~ Edit: will fix this in another PR as upgrading `@apollo/client` + `apollo-upload-client` seems to break types and/or tests. Related issue: [twentyhq#5437](twentyhq#5437) commit 2386191 Author: martmull <martmull@hotmail.fr> Date: Wed May 22 09:55:29 2024 +0200 Fix missing logo at sign-in-up (twentyhq#5525) ### Before ![image](https://github.com/twentyhq/twenty/assets/29927851/91f94c5f-e337-4163-b858-3358032a12bd) ### After ![image](https://github.com/twentyhq/twenty/assets/29927851/77b88ea1-514a-4471-a28d-4c989cc5d9c4) commit 944b2b0 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 09:53:15 2024 +0200 fix: reset default value on field type switch in Settings/Data Model … (twentyhq#5436) …field form Closes twentyhq#5412 commit 4800388 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 09:39:21 2024 +0200 feat: remove a link from a Links field (twentyhq#5313) Closes twentyhq#5117 TO FIX in another PR: right now, the "Vertical Dots" LightIconButton inside the Dropdown menu sometimes needs to be clicked twice to open the nested dropdown, not sure why 🤔 Maybe an `event.preventDefault()` is needed somewhere? <img width="369" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/dd0c771a-c18d-4eb2-8ed6-b107f56711e9"> --------- Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit beaaf33 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Wed May 22 09:25:06 2024 +0200 5498 create a feature flag is gmail sync v2 enabled (twentyhq#5501) Closes twentyhq#5498 commit 5ad59b5 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Tue May 21 23:56:25 2024 +0300 Create congratulations bot (twentyhq#5404) - Created congratulations bot : <img width="939" alt="Screenshot 2024-05-14 at 12 47 13" src="https://github.com/twentyhq/twenty/assets/102751374/5138515f-fe4d-4c6d-9c7a-0240accbfca9"> - Modified OG image - Added png extension to OG image route To be noted: The bot will not work until the new API route is not deployed. Please check OG image with Cloudflare cache. --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit 3deda2f Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 21 21:25:38 2024 +0200 Update foreign table to distant table schema (twentyhq#5508) Closes twentyhq#5069 back-end part And: - do not display schemaPendingUpdates status on remote server lists as this call will become too costly if there are dozens of servers - (refacto) create foreignTableService After this is merged we will be able to delete remoteTable's availableTables column commit 29c2780 Author: Charles Bochet <charles@twenty.com> Date: Tue May 21 20:36:25 2024 +0200 Fix vite.config duplicate cache configuration commit 36b467d Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Wed May 22 02:24:08 2024 +0800 Fix storybook tests (twentyhq#5487) Fixes twentyhq#5486 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit e47101e Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Tue May 21 13:31:39 2024 +0200 5483 modify messagechannel syncstatus (twentyhq#5484) - Closes twentyhq#5483 - Fix seeds - Add default value to syncSubStatus commit 66a23a8 Author: Jérémy M <jeremy.magrin@gmail.com> Date: Tue May 21 13:29:59 2024 +0200 fix: unwanted change moving back datetime to date (twentyhq#5499) Moving back datetime to date, due to an unwanted change. commit ec248f8 Author: martmull <martmull@hotmail.fr> Date: Tue May 21 12:08:51 2024 +0200 Remove dumb code placement (twentyhq#5494) Fix a bug introduced in [this PR](https://github.com/twentyhq/twenty/pull/5254/files) When a subscription is created, we need to create the subscription, twentyhq#5254 return if no subscription is created so the sub can never be created at all This PR fixes that commit 4fcdfbf Author: martmull <martmull@hotmail.fr> Date: Tue May 21 11:31:03 2024 +0200 Fix unhandled exception (twentyhq#5474) Solves exception.getStatus is not a function error logs in twenty-server Catch all errors in order to have no error log at all commit 0d16051 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 21 10:46:49 2024 +0200 [fix] Re-introduce beforeUpdateOneObject hook (twentyhq#5495) ... and disable name edition in object edition form. This feature will be introduced by twentyhq#5491 commit eb78be6 Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Tue May 21 09:39:43 2024 +0100 feat: replace iframe with chrome sidepanel (twentyhq#5197) fixes - twentyhq#5201 https://github.com/twentyhq/twenty/assets/13139771/871019c6-6456-46b4-95dd-07ffb33eb4fd --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit 4907ae5 Author: Félix Malfait <felix.malfait@gmail.com> Date: Tue May 21 09:09:19 2024 +0200 Improve docs (twentyhq#5492) Fix twentyhq#4382 and remove useless pages to make docs more readable
commit a4a63b0 Merge: bb2d74f d770e56 Author: Shubham Pawar <82868470+srp-pawar@users.noreply.github.com> Date: Thu May 30 15:38:46 2024 +0530 Merge branch 'main' of https://github.com/synapsenet-arena/lead360 commit d770e56 Author: Indrakant D <60315832+its-id@users.noreply.github.com> Date: Thu May 30 14:30:23 2024 +0530 fix: Poor contrast on SlashMenu (twentyhq#5342) fixes [twentyhq#5304](twentyhq#5304 (comment)) dark mode <img width="1425" alt="Screenshot 2024-05-09 at 1 59 56 AM" src="https://github.com/twentyhq/twenty/assets/60315832/70230f9e-607a-462a-8823-db8350d86bc4"> <br> <br> Light mode <img width="1448" alt="Screenshot 2024-05-09 at 2 01 06 AM" src="https://github.com/twentyhq/twenty/assets/60315832/523488a5-21de-4911-b11b-e28fba9adae6"> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit 339aee6 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 30 10:45:46 2024 +0200 Run queries within queryRunner transaction sequentially (twentyhq#5668) Within a queryRunner transaction, it is important that migrations are run subsequently and not concurrently: otherwise if an error is thrown by one of the query, it will abort the transaction; any subsequent query running on the same queryRunner will cause the error _current transaction is aborted, commands ignored until end of transaction block_. Using an async function in a map as below does not guarantee that each query terminates before iterating over the next one, which can be an issue as described above, and which seems to cause [this sentry](https://twenty-v7.sentry.io/issues/5258406553/?environment=prod&project=4507072499810304&query=is%3Aunresolved+issue.priority%3A%5Bhigh%2C+medium%5D&referrer=issue-stream&statsPeriod=7d&stream_index=4). commit 9a23f9b Author: martmull <martmull@hotmail.fr> Date: Wed May 29 23:35:32 2024 +0200 4699 update the onboarding app placeholder (twentyhq#5616) ## Before ![image](https://github.com/twentyhq/twenty/assets/29927851/e9055c16-eed3-48f1-a4e2-df115a6c2247) ## After ![image](https://github.com/twentyhq/twenty/assets/29927851/254c7573-81c7-487e-b653-5b0ba311cf9e) commit bcb582f Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Wed May 29 21:29:33 2024 +0200 Fixed button icon bug (twentyhq#5670) There was a bug with the isEmpty variable actually being a function from lodash instead of the result of `isFieldEmpty()`. commit 008813f Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Wed May 29 13:45:32 2024 +0100 fix: twenty-chrome-extension:"graphql:generate" (twentyhq#5649) fixes: twentyhq#5645 commit df2b76f Author: R894 <54629307+R894@users.noreply.github.com> Date: Wed May 29 14:34:29 2024 +0300 4848 - Update Checkbox component (twentyhq#4883) # Summary * Add hover state which defaults to **false** * Add disable state ![chrome_KV2AltSmBK](https://github.com/twentyhq/twenty/assets/54629307/976fba28-b975-4acc-9d06-c14c4fe339d8) closes twentyhq#4848 --------- Co-authored-by: Charles Bochet <charles@twenty.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit ecff27f Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Wed May 29 12:45:29 2024 +0200 Improved hotkey scopes docs (twentyhq#5647) We have a lot of contributors that are not aware of our method for implementing hotkey listeners. I updated the documentation to provide clear examples so that users can refer to it and maintainers and reviewers can point to it when they see onKeyDown implementations. commit 5bb205b Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 28 18:01:05 2024 +0200 Fix update remote field metadata (twentyhq#5638) Closes twentyhq#5610. & update fetch-policy when fetching database on the remote databases show page to get freshest status. commit ebb1aa0 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Tue May 28 15:54:57 2024 +0200 Add label to remote server (twentyhq#5637) Added label on remote server entity. Also added the possibility to update schema. <img width="688" alt="Capture d’écran 2024-05-28 à 15 36 31" src="https://github.com/twentyhq/twenty/assets/22936103/c9786122-8459-4876-833e-c9a1d7d27829"> commit ae6d5af Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Tue May 28 11:32:57 2024 +0200 Add missing stripe tables (twentyhq#5621) As title Still adding not working tables / columns commented so we know why these are not available. commit 443fb53 Author: Sage Bain <47053579+Shyesta@users.noreply.github.com> Date: Mon May 27 13:18:12 2024 -0700 Updated Past Events Font-Color to Primary for Visibility (twentyhq#5572) Issue: [twentyhq#5164](twentyhq#5164) Updated font-color of the title of past calendar events to be primary to improve visibility. Calendar event time font-color remains unchanged. Before: ![image](https://github.com/twentyhq/twenty/assets/47053579/8556eefb-d79e-4924-a15b-1609c0720aa3) After: ![image](https://github.com/twentyhq/twenty/assets/47053579/a2d3639c-0a04-4db6-998e-f76b01e1e392) The year in month-year at the top of these screenshots also appears to be in tertiary font-color which can be adjusted too if that feels not visible enough. --------- Co-authored-by: ktang520 <ktang520@gmail.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit ef64911 Author: Piyush Yadav <72244570+piyushyadav1617@users.noreply.github.com> Date: Mon May 27 21:36:34 2024 +0530 fix: Requests for new captcha token after a wrong password is entered. (twentyhq#5614) Fix issue where captcha did not reset after an incorrect password was entered and invalid token error was thrown, ensuring users receive a new captcha token on each attempt. before: ![Screenshot 2024-05-27 191707](https://github.com/twentyhq/twenty/assets/72244570/7530c569-a3b5-46b9-96aa-b03c21f1e99a) after: user can try again with a new captcha token and login smoothly without encountering the invalid token error. commit 9df3b40 Author: Félix Malfait <felix.malfait@gmail.com> Date: Mon May 27 16:08:00 2024 +0200 Fix search public api key (twentyhq#5609) It was the wrong API key since we changed the index commit 930237e Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 16:07:38 2024 +0200 Bump to version v0.12.1 (twentyhq#5608) commit f58c961 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 16:05:22 2024 +0200 Remove feature flag for Links field (twentyhq#5606) commit 8579714 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 15:16:50 2024 +0200 Bump version to v0.12.0 (twentyhq#5604) commit 1715aa8 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Mon May 27 15:16:21 2024 +0200 Remove hasCalendarEventStarted flaky test (twentyhq#5603) Remove hasCalendarEventStarted flaky test commit 2f52e0f Author: martmull <martmull@hotmail.fr> Date: Mon May 27 15:13:11 2024 +0200 5505 forgot password feature broken (twentyhq#5602) - add missing `excludedOperations` in `packages/twenty-server/src/engine/middlewares/graphql-hydrate-request-from-token.middleware.ts` - update generated graphql file - Add missing redirection to index after password update commit 113dfba Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 14:43:39 2024 +0200 Disable perf stories in chromatic (twentyhq#5597) Disabled chromatic for performance stories. commit 56ef8fc Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Mon May 27 14:42:45 2024 +0200 Fix missing avatar on People table (twentyhq#5601) As per title! commit 2c009af Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 14:02:38 2024 +0200 Added RecordFieldValueSelectorContext (twentyhq#5596) Added RecordFieldValueSelectorContext on mock container so that new record value using use-context-selector can work properly in fields module. commit 3051f3a Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 13:58:31 2024 +0200 Fixed new record value context selector sync in activity drawer (twentyhq#5594) Forgot to add `<RecordValueSetterEffect recordId={...} />` effect component for activity drawer during refactor. commit 8ee98e0 Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 13:40:53 2024 +0200 Fixed pending row edit mode (twentyhq#5592) This PR fixes creation on table. With the recent optimization refactor, we now use a custom event to trigger edit and soft focus mode on a table cell. There's a specific case when we create a pending row to allow creating a new record, where the custom event gets triggered before the cell exists, so it cannot listen and put itself in edit mode. The fix is passing down a new isPendingRow in the context, so the identifier cell on a pending row can put itself in edit mode during its first render. commit 2a1ea32 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Mon May 27 12:15:57 2024 +0200 Fix SnackBar visual (twentyhq#5569) cf https://discord.com/channels/1130383047699738754/1243478998810497054 commit bcb5cf7 Author: martmull <martmull@hotmail.fr> Date: Mon May 27 12:14:50 2024 +0200 Remove flash after create workspace (twentyhq#5589) ## Before https://github.com/twentyhq/twenty/assets/29927851/a6b4f580-4f01-4f5b-a023-f9fa0d9f9c28 ## After https://github.com/twentyhq/twenty/assets/29927851/2a1feb44-27ce-457d-86a2-eea46a313f98 commit 1f9c340 Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Mon May 27 11:50:19 2024 +0200 Fix record board broken position (twentyhq#5588) Position were not queries anymore while populating kanban board, breaking the drag and drop feature commit 446c556 Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Mon May 27 11:30:01 2024 +0200 Fixed entity chip navigate (twentyhq#5587) Fixed EntityChip, navigate had been removed during performance optimization, I put it back. commit 10abd7f Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Mon May 27 16:38:37 2024 +0800 User & Metadata Loading (twentyhq#5347) ### Description User & Metadata Loading ### Refs twentyhq#4456 ### Demo https://github.com/twentyhq/twenty/assets/140154534/4c20fca6-feaf-45f6-ac50-6532d2ebf050 Fixes twentyhq#4456 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit 74d7479 Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Mon May 27 09:56:33 2024 +0200 Added Data Model Diagram to 0.12 changelog (twentyhq#5585) # Data Model Diagram Introduced an "Data Model Diagram" feature that allows users to visualize the relationships between different objects within the CRM. ![image](https://github.com/twentyhq/twenty/assets/19412894/70f81a93-9166-4036-bb21-f332a42bd850) --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 9c046dc Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Mon May 27 15:56:08 2024 +0800 Prefetch Skeleton Loading on Indexes and Shows (twentyhq#5545) ### Description Prefetch Skeleton Loading on Indexes and Shows ### Refs twentyhq#4458 ### Demo https://jam.dev/c/a1ad04e1-80b6-4b2a-b7df-373f52f4b169 https://jam.dev/c/c5038b97-2f18-4c29-8dee-18c09376e5ee Fixes: twentyhq#4458 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Matheus <matheus_benini@hotmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit cfd83d6 Author: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> Date: Sat May 25 19:09:25 2024 +0500 [UI] Remove theme constants from twenty-front and use the ones exported from twenty-ui. (twentyhq#5558) Some parts of the Frontend used theme constants exported from `modules/ui` while other parts used theme constants exported from `twenty-ui`. This PR centralizes theme constants by removing them from `modules/ui` completely. commit 9c325eb Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Sat May 25 12:29:20 2024 +0200 Fix opportunities board and CI (twentyhq#5573) RelationFieldDisplay was estabilishing a dependency on RecordTableContext which is not right as FieldDisplay can be loaded outside of RecordTable context I'm using an util directly but understand this is a bit heavier than before in term of performance. If we want to pre-compute this, we will need to be a bit smarter. Also the previous code based on fieldName was not right, we should check relationObjectMetadataItem instead commit 1c867d4 Author: brendanlaschke <brendan.laschke@googlemail.com> Date: Sat May 25 10:38:27 2024 +0200 Add Object Alternative view (twentyhq#5356) Current state: <img width="704" alt="Bildschirmfoto 2024-05-11 um 17 57 33" src="https://github.com/twentyhq/twenty/assets/48770548/c979f6fd-083e-40d3-8dbb-c572229e0da3"> I have some things im not really happy with right now: * If I have different connections it would be weird to display a one_one or many_one connection differently * The edges overlay always at one hand at the source/target (also being a problem with the 3 dots vs 1 dot) * I would have to do 4 versions of the 3 dot marker variant as an svg with exactly the same width as the edges wich is not as easy as it seems :) * The initial layout is not really great - I know dagre or elkjs could solve this but maybe there is a better solution ... If someone has a good idea for one or more of the problems im happy to integrate them ;) --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 9080981 Author: martmull <martmull@hotmail.fr> Date: Sat May 25 10:36:59 2024 +0200 5509 remove flash on intermediate verify step when sign in with sso (twentyhq#5526) - remove flash on /verify - remove flash on signInUp - remove useless redirections and hooks - Remove DefaultHomePage component - Move redirections to /objects/companies in PageChangeEffect - add useShowAuthModal hooks and tests - add usePageChangeEffectNaviteLocation hooks and tests - fix refresh token expired produces blank screen commit f455ad4 Author: Thomas des Francs <tdesfrancs@gmail.com> Date: Sat May 25 10:29:30 2024 +0200 0.12 changelog (twentyhq#5560) Added the changelog items for: - Skeleton loading - Blocklist - Notification new design commit def1774 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Sat May 25 10:29:00 2024 +0200 [Fix] Object names should be camel cased (twentyhq#5571) as per title commit 936ac40 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Fri May 24 18:55:21 2024 +0200 Introduce a new feature flag for contact creation (twentyhq#5570) Introduce new feature flag `IS_CONTACT_CREATION_FOR_SENT_AND_RECEIVED_EMAILS_ENABLED` to allow contacts to be created for sent and received emails. commit a017847 Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Fri May 24 18:53:37 2024 +0200 Feat/performance-refactor-styled-component (twentyhq#5516) In this PR I'm optimizing a whole RecordTableCell in real conditions with a complex RelationFieldDisplay component : - Broke down getObjectRecordIdentifier into multiple utils - Precompute memoized function for getting chip data per field with useRecordChipDataGenerator() - Refactored RelationFieldDisplay - Use CSS modules where performance is needed instead of styled components - Create a CSS theme with global CSS variables to be used by CSS modules commit 3680647 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Fri May 24 18:33:44 2024 +0200 Fix sync token is no longer valid in calendar sync (twentyhq#5563) Fix sync token is no longer valid in calendar sync. https://developers.google.com/apps-script/add-ons/calendar/conferencing/sync-calendar-changes#implement_a_sync_trigger_function _Caution: Occasionally sync tokens are invalidated by the server, resulting in a Sync token is no longer valid error. When this happens, your code should conduct a full sync and replace any stored sync tokens you have._ commit 87465b1 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Fri May 24 18:27:54 2024 +0200 5507 modify the partial sync cron to work with the new statuses (twentyhq#5512) Closes twentyhq#5507 commit 3de5ed3 Author: Shashank Vishwakarma <shashank000s4@gmail.com> Date: Fri May 24 21:41:08 2024 +0530 Added: The support for CZK Currency (twentyhq#5561) Added the Czech Koruna currency support. - Added the CZK to the currency code. - Set the desired CZK icon to `TablerIcons` to use it within the `twenty-ui` fixes: twentyhq#5530 ![Screenshot (335)](https://github.com/twentyhq/twenty/assets/140178357/a19a60b8-2261-44b3-9ed2-5c35424631a1) ![Screenshot (336)](https://github.com/twentyhq/twenty/assets/140178357/20944e43-901c-4dda-b986-a47763fb5f9b) commit c7d61e1 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 18:06:57 2024 +0200 feat: simplify field preview logic in Settings (twentyhq#5541) Closes twentyhq#5382 TODO: - [x] Test all field previews in app - [x] Fix tests - [x] Fix JSON preview commit 1ae7fbe Author: Peter W <techieshark@gmail.com> Date: Sat May 25 02:03:55 2024 +1000 docs: replace 'he' with 'they' (twentyhq#5562) Why: * allows for approximate doubling of the user base ;-) commit 736c79a Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 17:59:08 2024 +0200 fix: Links field fixes (twentyhq#5565) Related issue: twentyhq#3607 commit fa3443c Author: Félix Malfait <felix.malfait@gmail.com> Date: Fri May 24 17:58:37 2024 +0200 Improve autoload (twentyhq#5566) Set a 1000px margin to start fetching more records before we hit the bottom of the page, makes the scrolling experience a lot smoother :) commit 9ad3fb9 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 17:58:12 2024 +0200 feat: move Snackbar to top of screen on mobile (twentyhq#5567) ... and change SnackBar blur to medium. @Bonapara Following twentyhq#5515 (comment) Related issue: twentyhq#5383 <img width="386" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/de2f0be4-9d9c-4013-bed2-774e0599ce49"> commit de9321d Author: Lucas Bordeau <bordeau.lucas@gmail.com> Date: Fri May 24 16:52:05 2024 +0200 Fixed sync between record value context selector and record store (twentyhq#5517) This PR introduces many improvements over the new profiling story feature, with new tests and some refactor with main : - Added use-context-selector for getting value faster in display fields and created useRecordFieldValue() hook and RecordValueSetterEffect to synchronize states - Added performance test command in CI - Refactored ExpandableList drill-downs with FieldFocusContext - Refactored field button icon logic into getFieldButtonIcon util - Added RelationFieldDisplay perf story - Added RecordTableCell perf story - First split test of useField.. hook with useRelationFieldDisplay() - Fixed problem with set cell soft focus - Isolated logic between display / soft focus and edit mode in the related components to optimize performances for display mode. - Added warmupRound config for performance story decorator - Added variance in test reporting commit 82ec30c Author: Charles Bochet <charlesBochet@users.noreply.github.com> Date: Fri May 24 12:26:42 2024 +0200 Expandable list remove anchor (twentyhq#5559) Deprecate anchorElement on ExpandableList to avoid props drilling. The anchorElement should be the ExpandableList container itself commit 7f7ea59 Author: Thaïs <guigon.thais@gmail.com> Date: Fri May 24 12:15:17 2024 +0200 refactor: reset field default value on type change in Settings (twentyhq#5534) Related issue: twentyhq#5412 See twentyhq#5436 (comment) for context. commit 18fafbd Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Fri May 24 10:57:46 2024 +0200 Rename findAvailableTables endpoint (twentyhq#5557) As title commit 4bd0aaf Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Fri May 24 10:20:08 2024 +0200 [fix] Update remote table sync status in cache after schema update (twentyhq#5553) Upon schema update, sync status can change from synced to non_synced in case the update regards a table that was deleted. Let's update the sync status too to avoid displaying the table as still synchronized. https://github.com/twentyhq/twenty/assets/51697796/7ff2342b-ce9f-4179-9b76-940617cf1292 commit f9a3d5f Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Thu May 23 23:01:47 2024 +0100 chore: remove OAuth from chrome extension (twentyhq#5528) Since we can access the tokens directly from cookies of our front app, we don't require the OAuth process to fetch tokens anymore commit fede721 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Thu May 23 22:36:50 2024 +0200 Add sorter for distant tables (twentyhq#5546) As title commit e00b19e Author: Jeet Desai <52026385+jeet1desai@users.noreply.github.com> Date: Thu May 23 21:56:08 2024 +0530 Change email tab placeholder illustration (twentyhq#5550) Fixes twentyhq#5502 ![image](https://github.com/twentyhq/twenty/assets/52026385/ca73add9-101a-4517-96d7-c8fde883c066) ![image](https://github.com/twentyhq/twenty/assets/52026385/120f495b-db07-49c8-a058-5b77b2e06c1c) commit fe5b558 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 23 17:00:24 2024 +0200 [FE] Update remote table schema + refactor Tables list (twentyhq#5548) Closes twentyhq#5062. Refactoring tables list to avoid rendering all toggles on each sync or schema update while using fresh data: - introducing id for RemoteTables in apollo cache - manually updating the cache for the record that was updated after a sync or schema update instead of fetching all tables again commit 0d6fe7b Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Thu May 23 14:59:34 2024 +0200 Handle relations separately for remotes (twentyhq#5538) Remote object id columns are not removed anymore when a remote object is unsynced. This is because we do not use relations anymore. We only created the id field. So the current behavior that was implemented for custom objects, to retrieve the fields to deleted, does not work. Since remote object relations are really different, I extracted the logic from `objectMetadataService`. It now handles only the relations for custom objects creation and deletion (this part should be extracted as well). I create a new remote table relation service that will: - fetch objects metadata linked to remotes (favorites, activityTargets...) - look for columns based on remote object name - delete the fields and columns commit 8019ba8 Author: Thaïs <guigon.thais@gmail.com> Date: Thu May 23 12:19:50 2024 +0200 feat: implement new SnackBar design (twentyhq#5515) Closes twentyhq#5383 ## Light theme <img width="905" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/ab0683c5-ded3-420c-ace6-684d38794a2d"> ## Dark theme <img width="903" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/4e43ca35-438d-4ba0-8388-1f061c6ccfb0"> commit 453525c Author: Jérémy M <jeremy.magrin@gmail.com> Date: Thu May 23 12:02:40 2024 +0200 fix: workspace health showing error for multi select (twentyhq#5547) Fix `workspace:health` command not working properly with `MULTI_SELECT` field metadata type. commit 7b1bea3 Author: Charles Bochet <charles@twenty.com> Date: Thu May 23 08:41:37 2024 +0200 Release patch v0.11.3 commit b8eef21 Author: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> Date: Thu May 23 10:46:31 2024 +0500 [UI] Extract our ColorSample and Tag components from twenty-front to twenty-ui. (twentyhq#5543) Two more components extracted out of twenty-front: `ColorSample` and `Tag`. commit 6b1d4e0 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu May 23 07:43:09 2024 +0200 [Fix] Do not allow names with whitespaces (twentyhq#5542) As per title commit 04bf697 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 18:06:32 2024 +0200 feat: add feature flag to activate Links field creation (twentyhq#5535) Related issue: twentyhq#3607 commit 4e533bf Author: Weiko <corentin@twenty.com> Date: Wed May 22 17:14:33 2024 +0200 fix pgGraphqlQuery with concurent search path (twentyhq#5537) commit 5448512 Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Wed May 22 14:21:32 2024 +0200 Add quotes for table name (twentyhq#5533) As title commit 4b25181 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Wed May 22 15:02:54 2024 +0300 Fixed congratulations bot (twentyhq#5532) - Fixed bot - Added list of team members commit 40bd42e Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Wed May 22 13:06:00 2024 +0300 Added Algolia Search (twentyhq#5524) -Added Algolia Search Box : <img width="707" alt="Screenshot 2024-05-22 at 10 05 13" src="https://github.com/twentyhq/twenty/assets/102751374/d26f9748-2a80-4690-88ca-16b078c52915"> -Added Algolia Search Bar: <img width="294" alt="Screenshot 2024-05-22 at 10 05 56" src="https://github.com/twentyhq/twenty/assets/102751374/ad503894-4ae1-41e4-bd4b-6241f7679142"> --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> commit 2e79bcc Author: Thomas Trompette <thomas.trompette@sfr.fr> Date: Wed May 22 11:20:44 2024 +0200 Sync stripe tables (twentyhq#5475) Stripe tables do not support `hasNextPage` and `totalCount`. This may be because of stripe wrapper do not properly support `COUNT` request. Waiting on pg_graphql answer [here](supabase/pg_graphql#519). This PR: - removes `totalCount` and `hasNextPage` form queries for remote objects. Even if it works for postgres, this may really be inefficient - adapt the `fetchMore` functions so it works despite `hasNextPage` missing - remove `totalCount` display for remotes - fix `orderBy` --------- Co-authored-by: Thomas Trompette <thomast@twenty.com> commit 35c1f97 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 11:18:16 2024 +0200 perf: use Nx cache for Chromatic script (twentyhq#5457) Makes sure the `twenty-front:chromatic:ci` task in the CI job `front-chromatic-deployment` reuses the cache of the Storybook built in the CI job `front-sb-build` instead of re-building Storybook so Chromatic is deployed faster in the CI. commit bb6df43 Author: Jérémy M <jeremy.magrin@gmail.com> Date: Wed May 22 11:11:05 2024 +0200 fix: twentyORM datasource configuration for ssl (twentyhq#5529) We need to specify ssl configuration for TwentyORM datasources when needed, otherwise connection will be broken. commit 474dfd7 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 10:55:24 2024 +0200 fix: fix Apollo client cache update error for Links field (twentyhq#5473) Fixes twentyhq#5437 commit d1cbd70 Author: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> Date: Wed May 22 13:52:35 2024 +0500 Extract typography components from twenty-front to twenty-ui. (twentyhq#5466) Removed the following components from twenty-front and moved them to twenty-ui. - H1Title. - H2Title. - H3Title. Moving components in smaller chunks to ease the process of resolving conflicts. <img width="1255" alt="image" src="https://github.com/twentyhq/twenty/assets/125115953/a3953659-5dfd-4d03-a6de-50b064129d55"> Co-authored-by: Charles Bochet <charles@twenty.com> commit e2b48e2 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 10:42:08 2024 +0200 feat: edit link in Links field (twentyhq#5447) Closes twentyhq#5376 commit 47a6146 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 10:32:37 2024 +0200 feat: set primary link in Links field (twentyhq#5429) Closes twentyhq#5375 <img width="381" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/d87773df-c685-466b-ae35-a8349f79df48"> _____ ~~Note that I ugraded `@apollo/client` to v3.10.4 because current version is causing an error when trying to write the Links field in the cache in `updateRecordFromCache` (`TypeError: Cannot convert object to primitive value`). After upgrade, the error is gone but console still prints a warning (here the custom object name is `Listing` and the Links field name is `website`):~~ <img width="964" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/834b8909-e8dc-464a-8c5a-6b7e4c964a7f"> ~~It might be because the Links field seems to somehow have a `__typename` property in Apollo's cache, so Apollo considers it as a record and tries to match the object's cache with an id, but the Links field value has no id so it can't find it. We might want to find where this `__typename` is added and remove it from the Links object in the cache.~~ Edit: will fix this in another PR as upgrading `@apollo/client` + `apollo-upload-client` seems to break types and/or tests. Related issue: [twentyhq#5437](twentyhq#5437) commit 2386191 Author: martmull <martmull@hotmail.fr> Date: Wed May 22 09:55:29 2024 +0200 Fix missing logo at sign-in-up (twentyhq#5525) ### Before ![image](https://github.com/twentyhq/twenty/assets/29927851/91f94c5f-e337-4163-b858-3358032a12bd) ### After ![image](https://github.com/twentyhq/twenty/assets/29927851/77b88ea1-514a-4471-a28d-4c989cc5d9c4) commit 944b2b0 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 09:53:15 2024 +0200 fix: reset default value on field type switch in Settings/Data Model … (twentyhq#5436) …field form Closes twentyhq#5412 commit 4800388 Author: Thaïs <guigon.thais@gmail.com> Date: Wed May 22 09:39:21 2024 +0200 feat: remove a link from a Links field (twentyhq#5313) Closes twentyhq#5117 TO FIX in another PR: right now, the "Vertical Dots" LightIconButton inside the Dropdown menu sometimes needs to be clicked twice to open the nested dropdown, not sure why 🤔 Maybe an `event.preventDefault()` is needed somewhere? <img width="369" alt="image" src="https://github.com/twentyhq/twenty/assets/3098428/dd0c771a-c18d-4eb2-8ed6-b107f56711e9"> --------- Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit beaaf33 Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Wed May 22 09:25:06 2024 +0200 5498 create a feature flag is gmail sync v2 enabled (twentyhq#5501) Closes twentyhq#5498 commit 5ad59b5 Author: Ady Beraud <102751374+ady-beraud@users.noreply.github.com> Date: Tue May 21 23:56:25 2024 +0300 Create congratulations bot (twentyhq#5404) - Created congratulations bot : <img width="939" alt="Screenshot 2024-05-14 at 12 47 13" src="https://github.com/twentyhq/twenty/assets/102751374/5138515f-fe4d-4c6d-9c7a-0240accbfca9"> - Modified OG image - Added png extension to OG image route To be noted: The bot will not work until the new API route is not deployed. Please check OG image with Cloudflare cache. --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com> commit 3deda2f Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 21 21:25:38 2024 +0200 Update foreign table to distant table schema (twentyhq#5508) Closes twentyhq#5069 back-end part And: - do not display schemaPendingUpdates status on remote server lists as this call will become too costly if there are dozens of servers - (refacto) create foreignTableService After this is merged we will be able to delete remoteTable's availableTables column commit 29c2780 Author: Charles Bochet <charles@twenty.com> Date: Tue May 21 20:36:25 2024 +0200 Fix vite.config duplicate cache configuration commit 36b467d Author: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com> Date: Wed May 22 02:24:08 2024 +0800 Fix storybook tests (twentyhq#5487) Fixes twentyhq#5486 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com> commit e47101e Author: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Tue May 21 13:31:39 2024 +0200 5483 modify messagechannel syncstatus (twentyhq#5484) - Closes twentyhq#5483 - Fix seeds - Add default value to syncSubStatus commit 66a23a8 Author: Jérémy M <jeremy.magrin@gmail.com> Date: Tue May 21 13:29:59 2024 +0200 fix: unwanted change moving back datetime to date (twentyhq#5499) Moving back datetime to date, due to an unwanted change. commit ec248f8 Author: martmull <martmull@hotmail.fr> Date: Tue May 21 12:08:51 2024 +0200 Remove dumb code placement (twentyhq#5494) Fix a bug introduced in [this PR](https://github.com/twentyhq/twenty/pull/5254/files) When a subscription is created, we need to create the subscription, twentyhq#5254 return if no subscription is created so the sub can never be created at all This PR fixes that commit 4fcdfbf Author: martmull <martmull@hotmail.fr> Date: Tue May 21 11:31:03 2024 +0200 Fix unhandled exception (twentyhq#5474) Solves exception.getStatus is not a function error logs in twenty-server Catch all errors in order to have no error log at all commit 0d16051 Author: Marie <51697796+ijreilly@users.noreply.github.com> Date: Tue May 21 10:46:49 2024 +0200 [fix] Re-introduce beforeUpdateOneObject hook (twentyhq#5495) ... and disable name edition in object edition form. This feature will be introduced by twentyhq#5491 commit eb78be6 Author: Aditya Pimpalkar <adipimpalkar@gmail.com> Date: Tue May 21 09:39:43 2024 +0100 feat: replace iframe with chrome sidepanel (twentyhq#5197) fixes - twentyhq#5201 https://github.com/twentyhq/twenty/assets/13139771/871019c6-6456-46b4-95dd-07ffb33eb4fd --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> commit 4907ae5 Author: Félix Malfait <felix.malfait@gmail.com> Date: Tue May 21 09:09:19 2024 +0200 Improve docs (twentyhq#5492) Fix twentyhq#4382 and remove useless pages to make docs more readable
When user is deleting its account on a specific workspace, we remove it as if it was a workspaceMember, and if no workspaceMember remains, we delete the workspace and the associated stripe subscription